package com.example.mobile2032021606168xmy0412homework;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainTitle;
    private TextView tvMainTarget;
    private ImageView imageView;
    private TextView tvMainText;
    private TextView tvMainGlmre;
    private Button btnMainResult;
    private EditText edtTextMainText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();
        btnMainResult.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
    }

    private void initView() {
        tvMainTitle = (TextView) findViewById(R.id.tv_main_title);
        tvMainTarget = (TextView) findViewById(R.id.tv_main_target);
        imageView = (ImageView) findViewById(R.id.imageView);
        tvMainText = (TextView) findViewById(R.id.tv_main_text);
        tvMainGlmre = (TextView) findViewById(R.id.tv_main_glmre);
        btnMainResult = (Button) findViewById(R.id.btn_main_result);
        edtTextMainText = (EditText) findViewById(R.id.edtText_main_text);
    }
}